﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using SGRapidForm.Common;

namespace SGDemo.OA.Entity
{
    /// <summary>
    /// File: PADCategoryENT.cs 数据实体基类
    /// </summary>
    /// <remarks>
    /// <para>Author: "Ralph"</para>
    /// <para>Date: "2012-11-10"</para>
    /// <para>Version: "V1.0"</para>
    /// <para>Copyright: "神冠软件"</para>
    /// </remarks>
    [DataContract]
    public class PADCategoryENT
    {
        #region Fields
        private string _keyid;
        private string _parentKeyid;
        private string _userKeyid;
        private string _title;
        private string _code;
        private string _remark;
        #endregion

        #region Contructors
        public PADCategoryENT()
        {
        }

        public PADCategoryENT
        (
            string keyid,
            string parentKeyid,
            string userKeyid,
            string title,
            string code,
            string remark
        )
        {
            _keyid = keyid;
            _parentKeyid = parentKeyid;
            _userKeyid = userKeyid;
            _title = title;
            _code = code;
            _remark = remark;

        }
        #endregion

        #region Public Properties

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string Keyid
        {
            get { return _keyid; }
            set { _keyid = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string ParentKeyid
        {
            get { return _parentKeyid; }
            set { _parentKeyid = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string UserKeyid
        {
            get { return _userKeyid; }
            set { _userKeyid = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string Title
        {
            get { return _title; }
            set { _title = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string Code
        {
            get { return _code; }
            set { _code = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }
        #endregion
    }
}
